s=0
i=1
while i<11:
    if i%2==1:
        i+=1
        continue
    s+=i
    i+=1

print('1-10之间的偶数和', s)

print('----------------------------------')

s=0
i=1
for i in range(1, 11):
    if i%2==1:
        continue
    s+=i

print('1-10之间的偶数和', s)